package com.yuandian.api.business_monitor.feign;

import com.yuandian.api.business_monitor.po.AlarmParams;
import com.yuandian.bpm.common.core.util.R;
import com.yuandian.utils.PageDataInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 说明：'自定义告警'查询接口，提供给运维工作台远程调用
 * @author LinShiHe
 * @Date 2023/3/14 16:06
 */
@FeignClient(contextId = "RemoteAdvancedAlarmService", value = "bpm-business-monitor")
public interface RemoteAdvancedAlarmService {

	/**
	 * '自定义告警' 列表接口
	 * @param params 请求参数对象
	 * @return 通用返回对象
	 */
	@PostMapping("/alarm/advanced/getAdvancedAlarm")
	R<PageDataInfo> getKeyBusinessBySystemId(@RequestBody AlarmParams params);

}
